package com.imooc.miaosha.redis;

public class MiaoShaUserKey extends BasePrefix {

    public static final int TOKEN_EXPIRE = 3600 * 24 * 2;

    public MiaoShaUserKey(int expireSeconds,String prefix) {
        super(expireSeconds,prefix);
    }

    public static MiaoShaUserKey getTokenPrefix = new MiaoShaUserKey(TOKEN_EXPIRE,"tk");
    public static MiaoShaUserKey idPrefix = new MiaoShaUserKey(0,"id");
}
